<template>
  <div>
    <div class="nearby__item">
      <img :src="item.imgUrl" alt="" class="nearby__item__img" />
      <div class="nearby__item__content">
        <div class="nearby__item__content__title">{{ item.name }}</div>
        <div class="nearby__item__content__tags">
          <span class="nearby__item__content__tags__tag"
            >月售{{ item.sales }}+</span
          >
          <span class="nearby__item__content__tags__tag"
            >起送￥{{ item.expressLimit }}</span
          ><span class="nearby__item__content__tags__tag"
            >基础运费￥{{ item.expressPrice }}</span
          >
        </div>
        <p class="nearby__item__content__highlight">
          {{ item.slogan }}
        </p>
      </div>
    </div>
  </div>
</template>

<script>

export default {
  name: "ShopInfo",
  props:['item'],
  data() {
    return {
    };
  },
  
};
</script>

<style lang="scss" scoped>
.nearby__item {
    display: flex;
    padding-top: 0.12rem;
    &__img {
      display: block;
      width: 0.56rem;
      height: 0.56rem;
      margin-right: 0.16rem;
    }
    &__content {
      border-bottom: #f1f1f1 0.01rem solid;
      &__title {
        font-size: 0.16rem;
        color: #333333;
      }
      &__tags {
        margin: 0.08rem 0;
        &__tag {
          margin-right: 0.16rem;
          font-size: 0.13rem;
          color: #333333;
        }
      }
      &__highlight {
        font-size: 0.13rem;
        color: #e93b3b;
      }
    }
  }
</style>